The system data type TADDR_Param
contains address information consisting of an IPV4 address and the port number.
The LGF_TaddrToString
function converts a TADDR_Param
system data type variable to a String
data type variable.
LGF_TaddrToString (FC) | ||||||||
---|---|---|---|---|---|---|---|---|
TADDR_Param | ipAdressTaddr | Ret_Val | String | |||||
Identifier | Data type | Description |
---|---|---|
ipAdressTaddr | TADDR_Param | IP-Address and Port number to convert into string |
Identifier | Data type | Description |
---|---|---|
Ret_Val | String | IP-Address and Port number as string |
The function converts the IPV4 address with or without port number. The system data type TADDR_Param
is a structured data type. This structure contains the variable REM_PORT_NR
. If this variable is 0, no port is written to the parameter Ret_Val
.
####### Example Result at Ret_Val
:
192.168.11.11
192.168.11.11:3294
Version & Date | Change description | |
---|---|---|
01.00.00 | Siemens Industry Online Support | |
19.01.2017 | First released version | |
01.00.01 | Siemens Industry Online Support | |
17.08.2018 | Upgrade: TIA V15 Update 2 | |
01.00.02 | Industry Online Support | |
23.11.2018 | Upgrade: TIA V15.1 | |
01.00.03 | Simatic Systems Support | |
17.06.2019 | Standard header and block parameters update | |
01.00.04 | Simatic Systems Support | |
10.07.2019 | Refactoring of While to Do/While and constants inserted | |
01.00.05 | Simatic Systems Support | |
30.07.2019 | Add ENO handling | |
03.00.00 | Simatic Systems Support | |
23.04.2020 | Set version to V3.0.0 Harmonize the version of the whole library | |
03.00.01 | Simatic Systems Support | |
23.02.2021 | Insert documentation |